
#
# Python Tests
#
sitk_add_python_test( Test.ImageTests
  "${CMAKE_CURRENT_SOURCE_DIR}/sitkImageTests.py" )

sitk_add_python_test( Test.BasicFiltersTests
  "${CMAKE_CURRENT_SOURCE_DIR}/sitkBasicFilterTests.py")

sitk_add_python_test( Test.TransformTests
  "${CMAKE_CURRENT_SOURCE_DIR}/sitkTransformTests.py" )

sitk_add_python_test( Test.ImageIndexing
  "${CMAKE_CURRENT_SOURCE_DIR}/sitkImageIndexingTest.py" )

sitk_add_python_test( Test.IOTest
  "${CMAKE_CURRENT_SOURCE_DIR}/IOTest.py"
  "${SimpleITK_TEST_OUTPUT_DIR}")

# Numpy test.
sitk_add_python_test( Test.Numpy
  "${CMAKE_CURRENT_SOURCE_DIR}/sitkNumpyArrayConversionTest.py"
  )

sitk_add_python_test( Test.ProcessObject
  "${CMAKE_CURRENT_SOURCE_DIR}/sitkProcessObjectTest.py"
  )

sitk_add_python_test( Test.ConcurrentImageRead
  "${CMAKE_CURRENT_SOURCE_DIR}/ConcurrentImageRead.py"
  )

sitk_add_python_test( Test.ImageReadWriteInt64
  "${CMAKE_CURRENT_SOURCE_DIR}/ImageReadWriteInt64.py"
  )


if(TEST Python.Test.ConcurrentImageRead AND APPLE)
  set_tests_properties( Python.Test.ConcurrentImageRead PROPERTIES LABELS "UNSTABLE" )
endif()

sitk_add_python_test( Test.ArrayView
  "${CMAKE_CURRENT_SOURCE_DIR}/sitkGetArrayViewFromImageTest.py"
  )

